From fac5ed6165c801a9ef298d5bef15e32e4ba44223 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Fri, 29 Jan 2016 18:09:28 +0100 Subject: [PATCH] Adwaita: reset padding on notebook tab close button --- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index fd1e7dc6d9..513e8f8f64 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1867,6 +1867,7 @@ notebook { &, &:backdrop { color: gtkalpha(currentColor, 0.3); } + padding: 0; margin-top: 8px; margin-bottom: 8px; // FIXME: generalize .small-button? diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 6371eb748d..f4f799e74a 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -2321,6 +2321,7 @@ notebook > header { notebook > header tab button.flat, notebook > header tab button.sidebar-button, notebook > header tab headerbar button.titlebutton, headerbar notebook > header tab button.titlebutton, notebook > header tab .titlebar button.titlebutton, .titlebar notebook > header tab button.titlebutton { + padding: 0; margin-top: 8px; margin-bottom: 8px; min-width: 18px; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 8ad2d2b52b..9f10bc0a3b 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -2331,6 +2331,7 @@ notebook > header { notebook > header tab button.flat, notebook > header tab button.sidebar-button, notebook > header tab headerbar button.titlebutton, headerbar notebook > header tab button.titlebutton, notebook > header tab .titlebar button.titlebutton, .titlebar notebook > header tab button.titlebutton { + padding: 0; margin-top: 8px; margin-bottom: 8px; min-width: 18px; -- 2.30.2